package com.example.log

interface ILogger {
    fun v(tag: String?, log: String?)
    fun d(tag: String?, log: String?)
    fun i(tag: String?, log: String?)
    fun w(tag: String?, log: String?)
    fun e(tag: String?, log: String?)

    /**
     * 日志开关 true-打开 false-关闭
     * @param isDebug
     */
    fun setDebug(isDebug: Boolean)

    /**
     * 设置log的总tag
     * @param tag
     */
    fun setLogTag(tag: String?)

    /**
     * 设置日志最小输出级别
     * @param level
     */
    fun setLoggerLevel(level: LoggerLevel?)

    /**
     * 对应Email-邮箱地址 Server-网络请求地址。。。
     * @param url
     */
    fun setTarget(url: String?)

}